import java.util.Scanner;
/**
 * A program to input users most favourite ice ceram.
 * @authoAmrita Mukherjee
 * @version 02-10-2012
 */
public class A6_1
{
    public static void main(String[] args)
    {
        //create a scanner object call "keyboard"
        Scanner keyboard = new Scanner(System.in);
        
        //prompt user for input
        //notice print is used instead println
        System.out.print("What is your favourite icecream flavor? ");
        
        //Input the users responce (get a line of output)
        String favicecream = keyboard.nextLine();
        
        //Now print what the user enters
        //note that is used to join strings together
        System.out.println("I like " + favicecream + ", too!");
    }
}
 /*
  * My Test session:
  What is your favourite icecream flavor? vanilla
I like vanilla, too!

  */